<template>
  <div class="user-info">
    <el-form-item label="用户ID">
      <el-input v-model="userId" disabled />
    </el-form-item>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const userId = ref(localStorage.getItem('userId'));
</script>

<style scoped>
.user-info {
  text-align: left;
}
</style> 